class UrlMappings {
    static mappings = {
      "/$controller/$action?/$id?"{
	      constraints {
			 // apply constraints here
		  }
	  }
      "/"(controller:"songlist")
	  "500"(view:'/error')
      "/artist/$artistId/song/create"(controller:"song", action:"create")
        "/artist/$artistId/song/save"(controller:"song", action:"save")
      "/artist/$artistId/song/$id"(controller:"song", action:"show")
	}
}
